Meaning of the word "a barber learns to shave by shaving fools" in English

What does "a barber learns to shave by shaving fools" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

a barber learns to shave by shaving fools

US /ə ˈbɑːrbər lɜːrnz tu ʃeɪv baɪ ˈʃeɪvɪŋ fuːlz/
UK /ə ˈbɑːbə lɜːnz tu ʃeɪv baɪ ˈʃeɪvɪŋ fuːlz/
"a barber learns to shave by shaving fools" picture

Idiom

Inexperienced people often learn their trade or skills at the expense of those who are foolish or gullible enough to let them practice.

Example:
He let the intern handle his legal case, but as they say, a barber learns to shave by shaving fools.
I wouldn't trust a beginner with this task; remember that a barber learns to shave by shaving fools.